<?php
/* @var $this VintnerController */
/* @var $model Vintner */

$this->layout = "column";

$vintner_name = $model->first_name . " " . $model->last_name;

$this->breadcrumbs=array(
    'Winzer'=>array('admin'),
    $vintner_name,
);

$this->widget('zii.widgets.jui.CJuiTabs',array(
    'tabs'=>array(
        'Übersicht'=>array('content'=>'Verlauf anzeigen: Wein gekauft, verkauft, Verkostungsflaschen abgebucht', 'id'=>'tab1'),
        'Daten bearbeiten'=>$this->renderPartial('_form', array('model'=>$model), true),
        //'Adressen'=>$this->renderPartial('_description_form', array('model'=>$model), true),
        /*         'StaticTab 2'=>array('content'=>'Content for tab 2', 'id'=>'tab2'), */
        // panel 3 contains the content rendered by a partial view
        //'AjaxTab'=>array('ajax'=>$ajaxUrl),
    ),
    // additional javascript options for the tabs plugin
    'options'=>array(
        'collapsible'=>true,
    ),
));
?>